From: Dan Winship Date: Fri, 25 Mar 2011 14:59:45 +0000 (-0400) Subject: gnome-shell.css: fix padding/alignment of menu toggle switches X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~8469 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=00fc4a2eb76e088632aa9551f3a368eac8e00928;p=gnome-shell.git gnome-shell.css: fix padding/alignment of menu toggle switches We do not support scaling background-images, so setting the toggle-switch size to anything other than the natural size of the image just results in it getting padding, which makes it look improperly aligned. https://bugzilla.gnome.org/show_bug.cgi?id=645647 --- diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css index 1909da9c0..1ae416578 100644 --- a/data/theme/gnome-shell.css +++ b/data/theme/gnome-shell.css @@ -167,8 +167,8 @@ StTooltip StLabel { /* Switches (to be used in menus) */ .toggle-switch { - width: 4.5em; - height: 1.5em; + width: 65px; + height: 22px; } .toggle-switch-us {